from PyQt4.QtCore import Qt
from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFont

class PrinterWidget(QWidget):
	def __init__(self, *args, **kw):
		QWidget.__init__(self, *args, **kw)
#
#		background image
#
		pic = QLabel(self)
		s = "work/message_widget.png"
		pic.setPixmap(QPixmap(s))
		self.setGeometry(0, 0, 665, 117)
#
#		font - arcane wide
#
		font = QFont("ArcaneWide", 12)
#
#		text area to draw the message
#
		self.buffer = QLabel(self)
		self.buffer.setGeometry(24,19,568,68)
		self.buffer.setFont(font)
		self.buffer.setAlignment(Qt.AlignVCenter )
		self.buffer.setText("Welcome to Abby's Crossing, Master.")
#
#	change the displayed text
#
	def set_text(self, text):
		self.buffer.setText(text)



